// components/orderInfo.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    orders:[],
    activeNames: [],
  },

  lifetimes: {
    attached() {
      wx.request({
        url: '',
        success: (res) => {
          this.setData({
            orders: res.data,
          });
        },
      });
    },
  },

  /**
   * 组件的方法列表
   */
  methods: {
    onChange(event) {
      this.setData({
        activeNames: event.detail,
      });
    },
    toOrderPage(){
      
    }
  }
})
